package com.example.javapoint.keyClass;

public class ClassExample1 {
    String msg = "private class is invoked";
    private class InnerClass {
        void display(){
            System.out.println(msg);
        }
    }
    public static void main(String[] args) {
        new ClassExample1().new InnerClass().display();
    }
}
